package com.jintian.smart.kernel.core.flow;

import java.util.Map;

public interface ITaskAction<T> {

    FlowAction getAction();

    T execute(String taskId, ProcessControl processControl) throws Exception;

    ProcessControl query(String taskId, Map<String, Object> transientVariables) throws Exception;
}
